package cc.wsyw126.java.mock;

import java.util.Random;

/**
 * Created by junpeng.yang on 16/8/22.
 */
public class CodeWithPrivateMethod {

    public void meaningfulPublicApi() {
        if (doTheGamble("Whatever", 1 << 3)) {
            throw new RuntimeException("boom");
        }
    }

    private boolean doTheGamble(String whatever, int binary) {
        return false;
    }
}